package cn.bdqn.hospital.entity;

/**
 * 科室表
 */
public class Department {
    // 科室id
    private Integer KsId;
    // 科室名称
    private String KsName;

    /**
     * 无参构造函数
     */
    public Department(){}

    /**
     * 有参构造函数
     * @param ksId
     * @param ksName
     */
    public Department(Integer ksId, String ksName) {
        KsId = ksId;
        KsName = ksName;
    }

    /**
     * get set
     * @return
     */
    public Integer getKsId() {
        return KsId;
    }

    public void setKsId(Integer ksId) {
        KsId = ksId;
    }

    public String getKsName() {
        return KsName;
    }

    public void setKsName(String ksName) {
        KsName = ksName;
    }

    @Override
    public String toString() {
        return "Department{" +
                "KsId=" + KsId +
                ", KsName='" + KsName + '\'' +
                '}';
    }
}
